package com.weishi.project.training.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weishi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * TrainingAchievement
 */
@Data
@TableName("tbl_training_achievement")
public class TrainingAchievement implements Serializable {
    private static final long serialVersionUID = 1L;

    /** PK */
    private Integer id;
    
    /** 训练周Id */
    @Excel(name = "训练周Id")
    private Integer weekId;
    
    /** 训练日项目Id */
    @Excel(name = "训练日项目Id")
    private Integer trainingDayId;
    
    /** 训练组Id */
    @Excel(name = "训练组Id")
    private Integer groupId;
    
    /** 航道Id */
    @Excel(name = "航道Id")
    private Integer channelId;
    
    /** 运动员Id */
    @Excel(name = "运动员Id")
    private Integer sportsmanId;
    
    /** 几号位置 -1、舵手 */
    @Excel(name = "几号位置 -1、舵手")
    private Integer position;
    
    /** 心率/次 */
    @Excel(name = "心率/次")
    private String heartRate;
    
    /** 乳酸含量/ml */
    @Excel(name = "乳酸含量/ml")
    private String lacticAcid;

    @Excel(name = "1、左桨 2、右桨")
    private int oarType;
    
    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间")
    private Date ctime;

    //训练项目类型
    @TableField(exist = false)
    private String type;

    @TableField(exist = false)
    private String weekName;

    @TableField(exist = false)
    private String secondLevel;

    @TableField(exist = false)
    private String groupName;

    @TableField(exist = false)
    private String channelName;
    @TableField(exist = false)
    private int batch;

    @Excel(name = "运动员名称")
    private String sportsmanName;

    @TableField(exist = false)
    private String day;

    //瓦特
    @TableField(exist = false)
    private String power;

    //功率
    @TableField(exist = false)
    private String watt;

    /**
     * 艇种
     */
    @TableField(exist = false)
    private String boatType;

    /**
     * 船速仪 id
     */
    @TableField(exist = false)
    private String shipSpeedId;

    /**
     * 公里数
     */
    @TableField(exist = false)
    private Integer rowingKilometers;

    /**
     * 时长
     */
    @TableField(exist = false)
    private double rowingClassHour;

    /**
     * 分段成绩
     */
    @TableField(exist = false)
    private String segmentedTiming;

    /**
     * 浆频
     */
    @TableField(exist = false)
    private String propellerFrequency;

    /**
     * 平均船速
     */
    @TableField(exist = false)
    private double shipSpeed;

    /**
     * 一级科目
     */
    @TableField(exist = false)
    private String firstLevel;

    /**
     * 训练模式 0、默认公里数计时，1、默认时长计公里数
     */
    @TableField(exist = false)
    private Integer trainingMode;

    /**
     * 公里数
     */
    @TableField(exist = false)
    private Integer rowingKilometersTwo;

    /**
     * 总成绩
     */
    @TableField(exist = false)
    private String achievement;

    /**
     * 最大心率
     */
    @TableField(exist = false)
    private Integer maxHeartRate;

    /**
     * 平均心率
     */
    @TableField(exist = false)
    private Integer averageHeartRate;

    /**
     * 其它心率
     */
    @TableField(exist = false)
    private String otherHeartRate;

    /**
     * 其它乳酸
     */
    @TableField(exist = false)
    private String otherLacticAcid;

    /**
     * 平均浆频
     */
    @TableField(exist = false)
    private Integer averagePropellerFrequency;

    /**
     * 平均瓦特
     */
    @TableField(exist = false)
    private Integer averageWatt;

    /**
     * 分段成绩 ( 作废 )
     */
    @TableField(exist = false)
    private String averageAchievement;

    /**
     * 浆数
     */
    @TableField(exist = false)
    private Integer pulpNumber;

    /**
     * 平均功率
     */
    @TableField(exist = false)
    private String averagePower;

    /**
     * 峰力
     */
    @TableField(exist = false)
    private Double peakForce;

    /**
     * 均力
     */
    @TableField(exist = false)
    private Double averageForce;

    /**
     * （手动输入）最大船速
     */
    @TableField(exist = false)
    private String maxSpeed;

    /**
     * （手动输入）平均船速
     */
    @TableField(exist = false)
    private String averageSpeed;

    /**
     * （手动输入）分段船速
     */
    @TableField(exist = false)
    private String sectionalSpeed;

    /**
     * 分段 心率
     */
    @TableField(exist = false)
    private String segmentHeartRate;

    /**
     * 分段 浆频
     */
    @TableField(exist = false)
    private String segmentPropellerFrequency;

    /**
     * 分段 功率
     */
    @TableField(exist = false)
    private String segmentPower;

    /**
     * 分段 瓦特
     */
    @TableField(exist = false)
    private String segmentWatt;




    
}